package com.project.thisDatabase.elasticsearch.model;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class AggerItem {
    private String name;
    private String field;
    private String key;
    private Object value;
    private List<AggerItem> childs = new ArrayList<>();
    private List<AggerItem> results = new ArrayList<>();
}
